package org.dromara.llm.domain.bo;

import org.dromara.llm.domain.UploadedFiles;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 上传文件业务对象 uploaded_files
 *
 * @author Miles Meng
 * @date 2025-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UploadedFiles.class, reverseConvertGenerate = false)
public class UploadedFilesBo extends BaseEntity {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 原文件
     */
    @NotBlank(message = "原文件不能为空", groups = { AddGroup.class, EditGroup.class })
    private String originalFileName;

    /**
     * 处理状态
     */
    @NotBlank(message = "处理状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String processStatus;

    /**
     * 文件名称
     */
    @NotBlank(message = "文件名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileName;

    /**
     * 处理状态
     */
    @NotBlank(message = "处理状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String filePath;

    /**
     * 处理结果
     */
    private String processResult;

    /**
     * 语言
     */
    private String lang;


}
